package com.huifer.wgx.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>Title : UserController </p>
 * <p>Description : </p>
 *
 * @author huifer
 * @date 2019-03-22
 */
@RestController
@RequestMapping("/admin")
public class UserController {

    @RequestMapping("login")
    public ResponseEntity g(
            @RequestParam("username") String username,
            @RequestParam("password") String password
    ) {
        System.out.println();
        return ResponseEntity.ok(" ");
    }

}
